import request from '@/utils/request'

export function registerBySelf(query) {
  return request({
    url: '/vue-element-admin/register/registerBySelf', // 通过登录页面的注册
    method: 'get',
    params: query
  })
}

export function registerByAdm(query) {
  return request({
    url: '/vue-element-admin/register/registerByAdm', // 管理员添加注册
    method: 'get',
    params: query
  })
}
